package be.felnederlands.client.content;

import be.felnederlands.client.content.widgets.HPanel;

import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;

public class GuiElementFactory {

	public static FlowPanel createSpan6Offset3FlowPanel() {
		FlowPanel span1 = new FlowPanel();
		span1.setStyleName("span6");
		span1.addStyleName("offset3");
		return span1;
	}
	
	public static HPanel createH2panelWithLabel(String label) {
		HPanel h2panel = new HPanel(2);
		h2panel.add(new Label(label));
		return h2panel;
	}
	
}
